package org.richin.support.orm;

import java.io.Serializable;

import javax.annotation.Resource;

import org.hibernate.SessionFactory;
import org.richin.support.orm.spring.PageSpringDao;
import org.richin.support.orm.spring.SpringDaoSupportImp;
/**
 * 默认 通过Annotation注入sessionFactory
 * @author Administrator
 *
 * @param <T>
 * @param <ID>
 */
public class SpringDaoSupport<T, ID extends Serializable> extends PageSpringDao<T, ID> implements IHibernateDaoSupport<T, ID>{
public SpringDaoSupport(){
	super();
}
	@Override
	@Resource(name="sessionFactory")
	public void setSuperSessionFactory(SessionFactory sessionFactory) {
	super.setSessionFactory(sessionFactory);
	}


}
